ComponentOne FinancialChart for WPF
C1.WPF Namespace / TypeEx Class / New Method / New<T>(Type) Method
The type.



In This Topic
    New<T>(Type) Method
    In This Topic
    Creates a new instance of this type using the default constructor.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Function New(Of T)( _
       ByVal type As Type _
    ) As T
    'Usage
     
    
    Dim type As Type
    Dim value As T
     
    value = TypeEx.New(Of T)(type)
    [Extension()]
    public static T New<T>( 
       Type type
    )
    [Extension()]
    public:
    static T^ Newgeneric<typename T>
    ( 
       Type^ type
    ) 

    Parameters

    type
    The type.

    Type Parameters

    T

    Return Value

    A new instance of type T.
    See Also